<!DOCTYPE html>
<html lang="{{ with .Params.lang }}{{ . }}{{ else }}{{ .Site.LanguageCode }}{{ end }}">
  <head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <meta name="description" content="{{if .IsHome}}{{ $.Site.Params.description }}{{else}}{{.Summary}}{{end}}"/>
    <title>{{ .Title }} | {{ .Site.Title }}</title>
    <link rel="stylesheet" href="{{ "/css/style.css" | relURL }}"/>
    <link rel="stylesheet" href="{{ "/css/fonts.css" | relURL }}"/>
    {{ partial "head_custom.html" . }}
  </head>

  <body>
    <nav>
      <div class="suprahead">
        <div class="logo"><span lang="jbo"><a href="/">kymot</a></span></div>
        <div><ul class="menu">
          {{- if (not .IsHome) }}<li><a style='color: #678ac6;' href="../">上一页</a></li>{{ end }}
          {{- range .Site.Menus.main }}
          <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
          {{- end }}
        </ul></div>
      </div>
    <hr/>
    </nav>
